package com.sptpc.demo.controller.requests;

import com.sptpc.demo.model.Order;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Example;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@Slf4j
@RequestMapping
public class OrderController {
    @Autowired
    private IOrderService orderService;

    @PostMapping("/")
    public Order addNewOrder(@RequestBody AddOrderRequset requset) {
        log.info("订单信息")
    }


}